package com.gxitsky.async.design.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * @author gxing
 * @desc TODO
 * @date 2022/8/12
 */
@Configuration
@ConfigurationProperties("cluster")
public class ClusterNode {

    private List<String> node;

    public List<String> getNode() {
        return node;
    }

    public void setNode(List<String> node) {
        this.node = node;
    }
}
